﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.BallDto
{
    public interface  IBallAppService:ICrudAppService<
        BallDto,Guid,PagedAndSortedResultRequestDto,CreateUpdateBallDto>
    {
        Task<ListResultDto<BallBrandLookDto>> GetBallBrandAsync();
        Task<ListResultDto<BallTypeLookDto>> GetBallTypeAsync();

        public class BallBrandLookDto
        {
            public int Id { get; set; }
            public string Name { get; set; }
        }
        public class BallTypeLookDto
        {
            public int Id { get; set; }
            public string Name { get; set; }
        }

    }
}
